/**
 * Created by Lee on 18/3/29.
 */
 import api from '@/api/request'
 import { config } from '@/config/config'

 class order {

 	// 异常门店
 	ustore(token, body){
 		let param = Object.assign({}, {token: token}, {body: body || {}})
		return api.post(`/api/app/performance/queryExceptionStore/${config.appVersionNo}`, param)
 	}

 	// 超时订单
 	torder(token, body){
 		let param = Object.assign({}, {token: token}, {body: body || {}})
		return api.post(`/api/app/performance/getExceptionOrderList/${config.appVersionNo}`, param)
 	}

 	// 超时订单详情
 	torderdetial(token, body){
 		let param = Object.assign({}, {token: token}, {body: body || {}})
		return api.post(`/api/app/performance/queryTXDOrderTimeAnalysisItemInfo/${config.appVersionNo}`, param)
 	}

 }

 export default new order()